package com.harry12.mybatis.Mapper;

import com.harry12.mybatis.entity.Teacher;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface TeacherMapper {
   // @Select("select * from teacher where id=#{id}")
   List<Teacher> getTeacher(int tid);

    List<Teacher> getTeacher2(Integer tid);
}
